package tree.bulid;

import java.util.Map;

/**
 * Created by admin on 2019/1/25.
 */
public class MapTree<TId, T> {
    private Map<TId, T> map;
    private T node;

    public MapTree() {
    }

    public MapTree(Map<TId, T> map, T node) {
        this.map = map;
        this.node = node;
    }

    public Map<TId, T> getMap() {
        return this.map;
    }

    public void setMap(Map<TId, T> map) {
        this.map = map;
    }

    public T getNode() {
        return this.node;
    }

    public void setNode(T node) {
        this.node = node;
    }
}
